package com.xbongbong.paas.pojo.vo;

import com.xbongbong.paas.pojo.AppPermissionWithNamePojo;
import com.xbongbong.paas.toolbox.wrap.BaseVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 角色管理中，获取某角色的应用权限清单 VO
 * @author kaka
 * @time 2018-11-8 14:35
 */
@Getter
@Setter
@ToString
public class RoleAppDetailVO extends BaseVO {

    private static final long serialVersionUID = 2359014007567617074L;


    /**
     * 角色id
     */
    private Integer roleId;

    /**
     * 角色对应的应用权限清单
     */
    List<AppPermissionWithNamePojo> appPermissions;

    /**
     * 角色对应的数据权限
     */
    private Integer dataPermission;
}
